/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.crm.cs.entity.GroupContactWindow
   Module Description   :

   Date Created      : 2010/1/27
   Original Author   : andy.chuang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.crm.cs.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.BaseEntity;
import com.yaodian100.core.common.entity.CommonEntity;

/**
 * @author andy.chuang
 *
 */
@Entity
@Table(name="CRM_CONTACTWINDOW")
public class GroupContactWindow extends CommonEntity {
    private String name;
    private String toMail;
    private String ccMail;
    private String holidayId;
    private String groupId;

    /**
     * @return the name
     */
    @Column(length=50)
    public String getName() {
        return name;
    }
    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * @return the toMail
     */
    @Column(length=200)
    public String getToMail() {
        return toMail;
    }
    /**
     * @param toMail the toMail to set
     */
    public void setToMail(String toMail) {
        this.toMail = toMail;
    }
    /**
     * @return the ccMail
     */
    @Column(length=2000)
    public String getCcMail() {
        return ccMail;
    }
    /**
     * @param ccMail the ccMail to set
     */
    public void setCcMail(String ccMail) {
        this.ccMail = ccMail;
    }
    /**
     * @return the holidayId
     */
    public String getHolidayId() {
        return holidayId;
    }
    /**
     * @param holidayId the holidayId to set
     */
    public void setHolidayId(String holidayId) {
        this.holidayId = holidayId;
    }
    /**
     * @return the groupId
     */
    @Id
    @GeneratedValue(generator = "assigned")
    @GenericGenerator(name = "assigned", strategy = "assigned")
    @Column(length=50)
    public String getGroupId() {
        return groupId;
    }
    /**
     * @param groupId the groupId to set
     */
    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }
   
}
